package com.delivery.deliverysystem.service;

import com.delivery.deliverysystem.pojo.DAO.ProductDAO;
import com.delivery.deliverysystem.pojo.DO.Product;
import com.baomidou.mybatisplus.extension.service.IService;
import com.delivery.deliverysystem.pojo.VO.ProductNameVO;
import com.delivery.deliverysystem.pojo.VO.ProductVO;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
* @author Administrator
* @description 针对表【product(产品资料表)】的数据库操作Service
* @createDate 2025-01-13 15:37:40
*/
public interface ProductService extends IService<Product> {

    Object createProdct(MultipartFile file, ProductDAO productDAO);

    Object updateProdct(MultipartFile file, ProductDAO productDAO);

    Product getProductById(String id);

    List<ProductVO> getProductList();

    List<ProductNameVO> getProductStatusList();
}
